/*
 * =====================================================================================
 *
 *       Filename:  segmentLibrary.h
 *
 *    Description:  Class describing a library of segments
 *
 *        Version:  1.0
 *        Created:  30/06/12 14:02:42
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Moos Hueting (mh), mooshueting@gmail.com
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef _SEGMENT_LIBRARY
#define _SEGMENT_LIBRARY

#include "segment.h"

class SegmentLibrary {
    vector<Segment> segments;
public:
    SegmentLibrary(const char *listfile);

    Segment getSegment(int i);
    int getSize();

    void loadList(const char *listfile);
};

#endif
